package com.example.spsaveqqty.guides;

import java.io.Serializable;
import java.util.Arrays;

public class Guide implements Serializable {
    private int strategy_id;//旅游攻略编号
    private String producer_name;//发布者名称
    private String title;//攻略标题
    private  String place_name;//景区名称
    private String datetime;//发布时间
    private String conent;//攻略内容
    private String[] picture = new String[4];//图片
    private String producer_image;//发布者头像地址
    private String iconFlag;//发布者头像的来源，1为相册，2为拍照。因为不同来源解析不同，所以需要标识一下。

    public String getIconFlag() {
        return iconFlag;
    }

    public void setIconFlag(String iconFlag) {
        this.iconFlag = iconFlag;
    }

    public int getStrategy_id() {
        return strategy_id;
    }

    public void setStrategy_id(int strategy_id) {
        this.strategy_id = strategy_id;
    }

    public String getProducer_name() {
        return producer_name;
    }

    public void setProducer_name(String producer_name) {
        this.producer_name = producer_name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public String getPlace_name() {
        return place_name;
    }

    public void setPlace_name(String place_name) {
        this.place_name = place_name;
    }

    public String getDatetime() {
        return datetime;
    }

    public void setDatetime(String datetime) {
        this.datetime = datetime;
    }

    public String getConent() {
        return conent;
    }

    public void setConent(String conent) {
        this.conent = conent;
    }


    public String getProducer_image() {
        return producer_image;
    }

    public void setProducer_image(String producer_image) {
        this.producer_image = producer_image;
    }

    public String[] getPicture() {
        return picture;
    }

    public void setPicture(String[] picture) {
        this.picture = picture;
    }

    @Override
    public String toString() {
        return "Guide{" +
                "strategy_id=" + strategy_id +
                ", producer_name='" + producer_name + '\'' +
                ", title='" + title + '\'' +
                ", place_name='" + place_name + '\'' +
                ", datetime='" + datetime + '\'' +
                ", conent='" + conent + '\'' +
                ", picture=" + Arrays.toString(picture) +
                ", producer_image='" + producer_image + '\'' +
                '}';
    }
}
